In [1]:
class Galleta:
pass
In [11]:
una_galleta = Galleta()
otra_galleta = Galleta()
In [12]:
type(una_galleta)
Out[12]:
In [4]:
type(10)
Out[4]:
In [5]:
type(3.14)
Out[5]:
In [6]:
type("Hola")
Out[6]:
In [7]:
type([])
Out[7]:
In [8]:
type({})
Out[8]:
In [9]:
type(True)
Out[9]:
In [10]:
def hola():
pass
type(hola)
Out[10]: